from langchain_openai import ChatOpenAI
from globle import configs as cfg
# 创建模型
model = ChatOpenAI(
    model="deepseek-chat",  # 或具体模型名
    base_url="https://api.deepseek.com",  # DeepSeek API 地址,
    api_key = cfg.DEEPSEEK_API_KEY


)
r = model.invoke("你好")
print(r)